*,
body {
  padding: 0;
  margin: 0;
  font-family: "Roboto Mono";
}
html {
  display: block;
  width: 100%;
  height: 100%;
  box-sizing: border-box;
  line-height: 1.5;
  -webkit-text-size-adjust: 100%;
  tab-size: 4;
}
body {
  width: 100%;
  height: 100%;
}
#app {
  width: 100%;
  height: 100%;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}
.flex {
  display: flex;
  align-items: center;
  justify-content: center;
}
.icon {
  width: 1em;
  height: 1em;
  vertical-align: -0.15em;
  fill: currentColor;
  overflow: hidden;
}
.meniu-text {
  font-size: 14px;
  font-weight: 400;
  position: relative;
  margin-left: 10px;
}
.el-menu {
  border: none !important;
}
.ranimate-enter-active {
  animation: fadeOutRight 1s;
}

.ranimate-leave-active {
  animation: fadeOutRight 1s;
}
.ellipsis {
  overflow: hidden; /* 确保超出容器的文本被裁剪 */
  white-space: nowrap; /* 确保文本在一行内显示 */
  text-overflow: ellipsis; /* 使用省略号表示文本超出 */
}

.component-box {
  width: 100%;
  height: 100%;
}

.scrollable {
  scrollbar-gutter: stable;
  scrollbar-color: var(--scrollable-bg) transparent;
  transition: scrollbar-color 0.1s ease-out;
}

.chat-item-box {
  overflow: hidden;
  position: relative;
 
}
.chat-item-box:not(:first-child){
  margin-top: 20px;
}
.chat-lay {
  position: absolute;
  left: 0;
  top: 0;
  background-image: linear-gradient(90deg, rgba(0, 0, 131, 0) 78%, var(--active-bg) 100%);
   width: 100%;
  height: 100%;
  border-radius: 12px;
  cursor: pointer;
}

.chat-item {
  white-space: nowrap;
  flex: 1;
  align-items: center;
  min-width: 0;
  line-height: 18px;
  display: flex;

  padding: 6px 18px;
  border-radius: 12px;
  overflow: hidden;
}
.chat-defalt{
   position: absolute;
  left: 0;
  top: 0;
  background-image: linear-gradient(90deg, rgba(0, 0, 131, 0) 78%, var(--side-bg) 100%);
   width: 100%;
  height: 100%;
  border-radius: 12px;
  cursor: pointer;
}
.chat-item-box:hover .chat-item {
  background-color:var(--active-bg);
}